import org.apache.commons.lang.math.NumberUtils;


public class NumberTest {

	public static void main(String[] args) {
		
		System.out.println(NumberUtils.toInt("-123"));
		System.out.println(NumberUtils.toInt("+123"));
	}
}
